package com.ruoyi.system.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 停车劵统计对象 ds_parking_coupon
 * 
 * @author ruoyi
 * @date 2024-08-15
 */
public class DsParkingCoupon extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 抵用券主键ID */
    private Long parkingId;

    /** 抵用券状态：1-未过期，2-已过期 */
    @Excel(name = "抵用券状态：1-未过期，2-已过期")
    private Long status;

    /** 商场名称 */
    @Excel(name = "商场名称")
    private String mallName;

    /** 条形码 */
    @Excel(name = "条形码")
    private String barCode;

    /** 抵用费用 */
    @Excel(name = "抵用费用")
    private BigDecimal diyongCost;

    /** 抵用劵数量 */
    @Excel(name = "抵用劵数量")
    private Long number;

    /** 过期日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "过期日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date expireDate;

    public void setParkingId(Long parkingId) 
    {
        this.parkingId = parkingId;
    }

    public Long getParkingId() 
    {
        return parkingId;
    }
    public void setStatus(Long status) 
    {
        this.status = status;
    }

    public Long getStatus() 
    {
        return status;
    }
    public void setMallName(String mallName) 
    {
        this.mallName = mallName;
    }

    public String getMallName() 
    {
        return mallName;
    }
    public void setBarCode(String barCode) 
    {
        this.barCode = barCode;
    }

    public String getBarCode() 
    {
        return barCode;
    }
    public void setDiyongCost(BigDecimal diyongCost) 
    {
        this.diyongCost = diyongCost;
    }

    public BigDecimal getDiyongCost() 
    {
        return diyongCost;
    }
    public void setNumber(Long number) 
    {
        this.number = number;
    }

    public Long getNumber() 
    {
        return number;
    }
    public void setExpireDate(Date expireDate) 
    {
        this.expireDate = expireDate;
    }

    public Date getExpireDate() 
    {
        return expireDate;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("parkingId", getParkingId())
            .append("status", getStatus())
            .append("mallName", getMallName())
            .append("barCode", getBarCode())
            .append("diyongCost", getDiyongCost())
            .append("number", getNumber())
            .append("expireDate", getExpireDate())
            .toString();
    }
}
